UltraFace320

object UltraFace320 : ONNXModels.FaceDetection

Ultra-lightweight face detection model.

Model accepts input of the shape (1 x 3 x 240 x 320) Model outputs two arrays (1 x 4420 x 2) and (1 x 4420 x 4) of scores and boxes.

Threshold filtration and non-max suppression are applied during postprocessing.

See also

Functions

model
Link copied to clipboard
open fun model(modelHub: ModelHub): OnnxInferenceModel
pretrainedModel
Link copied to clipboard
open override fun pretrainedModel(modelHub: ModelHub): FaceDetectionModel

Properties

inputShape
Link copied to clipboard
open val inputShape: LongArray?

Shape of the input accepted by this model, without batch size.

modelRelativePath
Link copied to clipboard
open override val modelRelativePath: String
preprocessor
Link copied to clipboard
open override val preprocessor: Operation<Pair<FloatArray, TensorShape>, Pair<FloatArray, TensorShape>>